package com.fy.module.sys.test;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * 作者：皮道远
 * 描述：永无Bug
 */
public class tset {
    public static void main(String[] args) {
        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
        boolean matches = encoder.matches("123456", "$2a$10$aoFqGinp/JS4bVziokQAN..GqzqnlsHMtcTCFSwMgotH4yEkWDZjq");
        System.out.println(matches);

    }
}
